const express = require('express');

const homeRouter = require('./routes/homeRouter')

const app = express();

const adminRouter = require('./routes/adminRouter');

app.use(homeRouter);

app.use(adminRouter)


app.listen(3000,()=>{
      console.log('启动')
})

app.all('*',(req,res)=>{
      res.send(`<h1> 404 not found </h1>`)
})
